package com.pay.ioopos.fragment;

import com.pay.ioopos.DataFactory;
import com.pay.ioopos.PwdValidator;


public class ComPwdValidFragment extends AbstractPwdValidFragment {

    public ComPwdValidFragment() {
        super("主管密码");
    }

    @Override
    protected PwdValidator validator() {
        return pwd -> pwd.equals(DataFactory.getDataStore().getPwd());
    }

}
